Next-generation code reader with varifocal system and Wi-Fi with 5 million pixels